package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class FocusOnTheTypeOfCompetition implements Serializable {
    private String focno;

    private String mtno;

    private String uno;

    private String focdesc;

    private static final long serialVersionUID = 1L;

    public String getFocno() {
        return focno;
    }

    public void setFocno(String focno) {
        this.focno = focno;
    }

    public void setTocdno(String focno) {
        this.focno = focno;
    }

    public String getMtno() {
        return mtno;
    }

    public void setMtno(String mtno) {
        this.mtno = mtno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getFocdesc() {
        return focdesc;
    }

    public void setFocdesc(String focdesc) {
        this.focdesc = focdesc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        FocusOnTheTypeOfCompetition other = (FocusOnTheTypeOfCompetition) that;
        return (this.getFocno() == null ? other.getFocno() == null : this.getFocno().equals(other.getFocno()))
            && (this.getMtno() == null ? other.getMtno() == null : this.getMtno().equals(other.getMtno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getFocdesc() == null ? other.getFocdesc() == null : this.getFocdesc().equals(other.getFocdesc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getFocno() == null) ? 0 : getFocno().hashCode());
        result = prime * result + ((getMtno() == null) ? 0 : getMtno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getFocdesc() == null) ? 0 : getFocdesc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", focno=").append(focno);
        sb.append(", mtno=").append(mtno);
        sb.append(", uno=").append(uno);
        sb.append(", focdesc=").append(focdesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}